<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交网站服务列表样式</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 通用样式 */
        .service-demo {
            margin-bottom: 4rem;
            padding: 2rem;
            border: 1px solid #eaeaea;
            border-radius: 8px;
            background-color: white;
        }
        
        .demo-title {
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eaeaea;
        }
        
        .service-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .service-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        }
        
        .provider-info img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .stats {
            color: #6c757d;
            font-size: 0.875rem;
        }
        
        .stats i {
            margin-right: 4px;
        }
        
        .action-buttons button {
            transition: all 0.2s ease;
        }
        
        .action-buttons button:hover {
            transform: scale(1.05);
        }
        
        .service-date {
            font-size: 0.875rem;
            color: #6c757d;
        }
        
        .service-category {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
        }
        
        .category-creative {
            background-color: #fce7f3;
            color: #be185d;
        }
        
        .category-education {
            background-color: #dbeafe;
            color: #1e40af;
        }
        
        .category-tech {
            background-color: #dcfce7;
            color: #166534;
        }
        
        .category-lifestyle {
            background-color: #fef3c7;
            color: #92400e;
        }
        
        .category-popular {
            background-color: #fee2e2;
            color: #dc2626;
        }
        
        /* 图片容器样式 */
        .images-container {
            display: flex;
            gap: 4px;
            margin: 0.75rem 0;
        }
        
        .images-container img {
            border-radius: 4px;
            object-fit: cover;
        }
        
        .single-image {
            width: 100%;
            max-height: 200px;
        }
        
        .multiple-images img {
            flex: 1;
            height: 120px;
        }
        
        .multiple-images img:nth-child(n+4) {
            display: none;
        }
        
        .image-count-badge {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
        }
        
        /* 评分星星样式 */
        .rating {
            color: #f59e0b;
        }
        
        .price-tag {
            font-weight: 600;
            color: #dc2626;
        }
        
        /* 样式1：标准卡片式 */
        .style-1 .service-card {
            border: 1px solid #eaeaea;
        }
        
        .style-1 .service-content {
            padding: 1.25rem;
        }
        
        .style-1 .title {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            transition: color 0.2s;
        }
        
        .style-1 .title:hover {
            color: #0d6efd;
        }
        
        .style-1 .description {
            color: #495057;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 样式2：紧凑列表式 */
        .style-2 .service-card {
            border: none;
            border-bottom: 1px solid #eaeaea;
            padding: 1rem 0;
        }
        
        .style-2 .service-card:last-child {
            border-bottom: none;
        }
        
        .style-2 .title {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .style-2 .description {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 样式3：带侧边统计的服务 */
        .style-3 .service-card {
            border: 1px solid #eaeaea;
        }
        
        .style-3 .stats-sidebar {
            background-color: #f8fafc;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #eaeaea;
        }
        
        .style-3 .stat-value {
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
        }
        
        .style-3 .stat-label {
            font-size: 0.8rem;
            color: #6c757d;
            text-align: center;
        }
        
        .style-3 .service-content {
            padding: 1rem;
        }
        
        /* 样式4：突出重点的服务 */
        .style-4 .service-card {
            border-left: 4px solid #8b5cf6;
            background-color: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .style-4 .service-header {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .style-4 .key-info {
            background-color: #f8fafc;
            padding: 1rem 1.25rem;
            border-top: 1px solid #e2e8f0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .style-4 .key-info-label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #5b21b6;
            margin-bottom: 0.5rem;
            display: inline-block;
        }
        
        .style-4 .service-details {
            font-size: 0.95rem;
            color: #333;
        }
        
        .style-4 .service-footer {
            padding: 0.75rem 1.25rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .style-3 .stats-sidebar {
                border-right: none;
                border-bottom: 1px solid #eaeaea;
                flex-direction: row;
                gap: 2rem;
            }
            
            .action-buttons {
                margin-top: 0.75rem;
            }
            
            .style-4 .service-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
        }
    </style>
</head>
<body class="p-4 bg-light">
    <div class="container">
        <h1 class="text-center mb-5">社交网站服务列表样式</h1>
        
        <!-- 样式1：标准卡片式 -->
        <div class="service-demo style-1">
            <h3 class="demo-title">1. 标准卡片式服务</h3>
            
            <!-- 带单张图片的服务 -->
            <div class="service-card">
                <div class="service-content">
                    <div class="d-flex justify-content-between align-items-start mb-3">
                        <div class="provider-info d-flex align-items-center">
                            <img src="https://picsum.photos/100/100?random=1" alt="服务提供者头像">
                            <div class="ms-2">
                                <div class="font-medium">张明摄影工作室</div>
                                <div class="text-sm text-muted">发布于 <span class="service-date">2天前</span></div>
                            </div>
                        </div>
                        <span class="service-category category-creative"><i class="fas fa-camera me-1"></i> 创意服务</span>
                    </div>
                    
                    <h5 class="title">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">专业人像摄影服务，含精修15张照片</a>
                    </h5>
                    
                    <div class="d-flex align-items-center mb-2">
                        <div class="rating me-2">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star-half-alt"></i>
                            <span class="text-muted ms-1">4.8 (126条评价)</span>
                        </div>
                        <span class="price-tag ms-3">¥599/次</span>
                    </div>
                    
                    <p class="description">提供专业人像摄影服务，包含室内外拍摄3小时，精修15张照片，赠送全部底片。可拍摄个人写真、情侣照、家庭照等。提供基础化妆和服装指导，需提前3天预约。</p>
                    
                    <!-- 单张图片 -->
                    <div class="images-container position-relative">
                        <img src="https://picsum.photos/800/400?random=10" alt="摄影服务样片" class="single-image">
                    </div>
                    
                    <div class="d-flex flex-wrap justify-content-between align-items-center gap-3 mt-3">
                        <div class="stats d-flex gap-4">
                            <span><i class="far fa-eye"></i> 3.2k 浏览</span>
                            <span><i class="far fa-handshake"></i> 48 个预约</span>
                            <span><i class="far fa-thumbs-up"></i> 256 点赞</span>
                        </div>
                        
                        <div class="action-buttons d-flex gap-2">
                            <button class="btn btn-sm btn-outline-primary rounded-pill">
                                <i class="far fa-thumbs-up me-1"></i> 点赞
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="far fa-bookmark me-1"></i> 收藏
                            </button>
                            <button class="btn btn-sm btn-success rounded-pill">
                                <i class="fas fa-calendar-check me-1"></i> 预约
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="fas fa-info-circle me-1"></i> 详情
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的服务 -->
            <div class="service-card">
                <div class="service-content">
                    <div class="d-flex justify-content-between align-items-start mb-3">
                        <div class="provider-info d-flex align-items-center">
                            <img src="https://picsum.photos/100/100?random=2" alt="服务提供者头像">
                            <div class="ms-2">
                                <div class="font-medium">李华编程教学</div>
                                <div class="text-sm text-muted">发布于 <span class="service-date">1天前</span></div>
                            </div>
                        </div>
                        <span class="service-category category-education"><i class="fas fa-laptop-code me-1"></i> 教育服务</span>
                    </div>
                    
                    <h5 class="title">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">Python编程一对一教学，零基础入门到精通</a>
                    </h5>
                    
                    <div class="d-flex align-items-center mb-2">
                        <div class="rating me-2">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="far fa-star"></i>
                            <span class="text-muted ms-1">4.2 (89条评价)</span>
                        </div>
                        <span class="price-tag ms-3">¥150/小时</span>
                    </div>
                    
                    <p class="description">Python编程一对一在线教学，适合零基础学员。课程内容包括语法基础、数据分析、爬虫开发、自动化办公等。提供课后练习和答疑，学习进度灵活。</p>
                    
                    <!-- 多张图片 -->
                    <div class="images-container multiple-images position-relative">
                        <img src="https://picsum.photos/300/200?random=11" alt="Python教学示例1" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=12" alt="Python教学示例2" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=13" alt="Python教学示例3" class="img-fluid">
                        <span class="image-count-badge">+2</span>
                    </div>
                    
                    <div class="d-flex flex-wrap justify-content-between align-items-center gap-3 mt-3">
                        <div class="stats d-flex gap-4">
                            <span><i class="far fa-eye"></i> 2.5k 浏览</span>
                            <span><i class="far fa-handshake"></i> 36 个预约</span>
                            <span><i class="far fa-thumbs-up"></i> 187 点赞</span>
                        </div>
                        
                        <div class="action-buttons d-flex gap-2">
                            <button class="btn btn-sm btn-outline-primary rounded-pill">
                                <i class="far fa-thumbs-up me-1"></i> 点赞
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="far fa-bookmark me-1"></i> 收藏
                            </button>
                            <button class="btn btn-sm btn-success rounded-pill">
                                <i class="fas fa-calendar-check me-1"></i> 预约
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="fas fa-info-circle me-1"></i> 详情
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式2：紧凑列表式 -->
        <div class="service-demo style-2">
            <h3 class="demo-title">2. 紧凑列表式服务</h3>
            
            <!-- 带图片的服务 -->
            <div class="service-card">
                <div class="row">
                    <div class="col-md-2 d-none d-md-block">
                        <div class="images-container">
                            <img src="https://picsum.photos/200/200?random=14" alt="手绘服务示例" style="width: 100%; height: 100px; object-fit: cover;">
                        </div>
                    </div>
                    <div class="col-md-10">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">手绘肖像定制，多种风格可选</a>
                        </h5>
                        
                        <p class="description">提供手绘肖像定制服务，支持素描、水彩、油画等多种风格，可定制个人、情侣、家庭肖像，适合作为礼物或装饰。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="provider-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=3" alt="服务提供者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">王丽艺术工作室</span>
                                </div>
                                
                                <span class="text-sm text-muted">3天前</span>
                                
                                <span class="service-category category-creative"><i class="fas fa-palette me-1"></i> 创意服务</span>
                                
                                <div class="rating me-2">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <span class="text-muted ms-1">5.0</span>
                                </div>
                                
                                <span class="price-tag">¥299/幅起</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 1.8k</span>
                                    <span><i class="far fa-handshake"></i> 24</span>
                                    <span><i class="far fa-thumbs-up"></i> 156</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-calendar-check"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的服务 -->
            <div class="service-card">
                <div class="row">
                    <div class="col-md-12">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">专业翻译服务，多语言支持</a>
                        </h5>
                        
                        <p class="description">提供英语、日语、法语、德语等多语言翻译服务，可翻译文档、网站、软件界面等，专业领域包括法律、商业、技术等。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="provider-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=4" alt="服务提供者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">环球翻译社</span>
                                </div>
                                
                                <span class="text-sm text-muted">5天前</span>
                                
                                <span class="service-category category-education"><i class="fas fa-language me-1"></i> 教育服务</span>
                                
                                <div class="rating me-2">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="far fa-star"></i>
                                    <span class="text-muted ms-1">4.1</span>
                                </div>
                                
                                <span class="price-tag">¥150/千字起</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 2.1k</span>
                                    <span><i class="far fa-handshake"></i> 42</span>
                                    <span><i class="far fa-thumbs-up"></i> 132</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-calendar-check"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的服务 -->
            <div class="service-card">
                <div class="row">
                    <div class="col-md-2 d-none d-md-block">
                        <div class="images-container multiple-images position-relative" style="height: 100px;">
                            <img src="https://picsum.photos/200/100?random=15" alt="家政服务示例1" class="img-fluid">
                            <img src="https://picsum.photos/200/100?random=16" alt="家政服务示例2" class="img-fluid">
                            <span class="image-count-badge">+2</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">专业家庭保洁服务，细致周到</a>
                        </h5>
                        
                        <p class="description">提供专业家庭保洁服务，包括日常保洁、深度清洁、搬家保洁等，使用环保清洁剂，自带工具，服务范围覆盖全市。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="provider-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=5" alt="服务提供者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">洁净家政服务</span>
                                </div>
                                
                                <span class="text-sm text-muted">1周前</span>
                                
                                <span class="service-category category-popular"><i class="fas fa-broom me-1"></i> 热门服务</span>
                                
                                <div class="rating me-2">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star-half-alt"></i>
                                    <span class="text-muted ms-1">4.7</span>
                                </div>
                                
                                <span class="price-tag">¥120/小时</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 3.8k</span>
                                    <span><i class="far fa-handshake"></i> 96</span>
                                    <span><i class="far fa-thumbs-up"></i> 325</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-calendar-check"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式3：带侧边统计的服务 -->
        <div class="service-demo style-3">
            <h3 class="demo-title">3. 带侧边统计的服务</h3>
            
            <!-- 无图片的服务 -->
            <div class="service-card">
                <div class="row">
                    <div class="col-md-2 stats-sidebar">
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">78</span>
                            <span class="stat-label">预约</span>
                        </div>
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">4.9</span>
                            <span class="stat-label">评分</span>
                        </div>
                        <div class="d-flex flex-column align-items-center">
                            <span class="stat-value">¥280</span>
                            <span class="stat-label">均价</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <div class="service-content">
                            <div class="d-flex justify-content-between align-items-start mb-2">
                                <h5 class="title">
                                    <a href="#" class="text-dark text-decoration-none hover:text-primary">专业按摩理疗服务，上门服务</a>
                                </h5>
                                <span class="service-category category-lifestyle"><i class="fas fa-spa me-1"></i> 生活服务</span>
                            </div>
                            
                            <p class="description mb-3">提供专业按摩理疗服务，包括瑞典式按摩、深层组织按摩、穴位按摩等，可缓解疲劳、改善睡眠。支持上门服务，需提前24小时预约。</p>
                            
                            <div class="d-flex flex-wrap justify-content-between align-items-center">
                                <div class="provider-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=6" alt="服务提供者头像">
                                    <div class="ms-2">
                                        <div class="font-medium">康体理疗中心</div>
                                        <div class="text-sm text-muted">发布于 <span class="service-date">3天前</span> · <i class="far fa-eye"></i> 4.2k 浏览</div>
                                    </div>
                                </div>
                                
                                <div class="action-buttons d-flex gap-2">
                                    <button class="btn btn-sm btn-outline-primary rounded-pill">
                                        <i class="far fa-thumbs-up me-1"></i> 点赞
                                    </button>
                                    <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                        <i class="far fa-bookmark me-1"></i> 收藏
                                    </button>
                                    <button class="btn btn-sm btn-success rounded-pill">
                                        <i class="fas fa-calendar-check me-1"></i> 预约
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带图片的服务 -->
            <div class="service-card">
                <div class="row">
                    <div class="col-md-2 stats-sidebar">
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">56</span>
                            <span class="stat-label">预约</span>
                        </div>
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">4.6</span>
                            <span class="stat-label">评分</span>
                        </div>
                        <div class="d-flex flex-column align-items-center">
                            <span class="stat-value">¥350</span>
                            <span class="stat-label">均价</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <div class="service-content">
                            <div class="d-flex justify-content-between align-items-start mb-2">
                                <h5 class="title">
                                    <a href="#" class="text-dark text-decoration-none hover:text-primary">笔记本电脑维修与升级服务</a>
                                </h5>
                                <span class="service-category category-tech"><i class="fas fa-laptop me-1"></i> 技术服务</span>
                            </div>
                            
                            <p class="description mb-3">提供笔记本电脑维修、清灰、系统安装、硬件升级等服务，支持上门取送。主修联想、戴尔、惠普、苹果等品牌，价格透明，修不好不收费。</p>
                            
                            <!-- 单张图片 -->
                            <div class="images-container mb-3">
                                <img src="https://picsum.photos/600/300?random=17" alt="电脑维修服务" class="single-image">
                            </div>
                            
                            <div class="d-flex flex-wrap justify-content-between align-items-center">
                                <div class="provider-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=7" alt="服务提供者头像">
                                    <div class="ms-2">
                                        <div class="font-medium">科技电脑维修</div>
                                        <div class="text-sm text-muted">发布于 <span class="service-date">1周前</span> · <i class="far fa-eye"></i> 3.7k 浏览</div>
                                    </div>
                                </div>
                                
                                <div class="action-buttons d-flex gap-2">
                                    <button class="btn btn-sm btn-outline-primary rounded-pill">
                                        <i class="far fa-thumbs-up me-1"></i> 点赞
                                    </button>
                                    <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                        <i class="far fa-bookmark me-1"></i> 收藏
                                    </button>
                                    <button class="btn btn-sm btn-success rounded-pill">
                                        <i class="fas fa-calendar-check me-1"></i> 预约
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式4：突出重点的服务 -->
        <div class="service-demo style-4">
            <h3 class="demo-title">4. 突出重点的服务</h3>
            
            <!-- 无图片的服务 -->
            <div class="service-card">
                <div class="service-header">
                    <h5 class="title mb-2">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">专业婚礼策划服务，一站式解决方案</a>
                    </h5>
                    
                    <div class="provider-info d-flex align-items-center mb-2">
                        <img src="https://picsum.photos/100/100?random=8" alt="服务提供者头像">
                        <div class="ms-2">
                            <div class="font-medium">幸福婚礼策划</div>
                            <div class="text-sm text-muted">发布于 <span class="service-date">2周前</span> · <i class="far fa-eye"></i> 5.8k 浏览</div>
                        </div>
                    </div>
                    
                    <div class="d-flex align-items-center mb-3">
                        <div class="rating me-3">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star-half-alt"></i>
                            <span class="text-muted ms-1">4.7 (156条评价)</span>
                        </div>
                        <span class="price-tag">¥12,800 起</span>
                    </div>
                    
                    <p class="description">提供一站式婚礼策划服务，包括场地布置、摄影摄像、司仪主持、婚纱租赁、花艺设计等。拥有5年以上经验，已成功策划300+场婚礼，可根据预算定制方案。</p>
                </div>
                
                <!-- 关键信息 -->
                <div class="key-info">
                    <span class="key-info-label">服务详情</span>
                    <div class="service-details mb-2">
                        <p><strong>服务内容：</strong>全程策划、场地布置、四大金刚（司仪、摄影、摄像、化妆）、花艺设计</p>
                        <p><strong>服务周期：</strong>提前1-3个月开始策划</p>
                        <p><strong>服务区域：</strong>全国主要城市</p>
                        <p><strong>特色服务：</strong>主题定制、无人机航拍、婚礼微电影</p>
                    </div>
                    <div class="d-flex gap-3">
                        <span class="text-sm text-muted"><i class="far fa-handshake"></i> 68 个预约</span>
                        <span class="text-sm text-muted"><i class="far fa-thumbs-up"></i> 425 点赞</span>
                    </div>
                </div>
                
                <div class="service-footer">
                    <div class="stats d-flex gap-4">
                        <span><i class="far fa-comment"></i> 89 条咨询</span>
                        <span><i class="far fa-bookmark"></i> 326 人收藏</span>
                    </div>
                    
                    <div class="action-buttons d-flex gap-2">
                        <button class="btn btn-sm btn-outline-primary rounded-pill">
                            <i class="far fa-thumbs-up me-1"></i> 点赞
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="far fa-bookmark me-1"></i> 收藏
                        </button>
                        <button class="btn btn-sm btn-success rounded-pill">
                            <i class="fas fa-calendar-check me-1"></i> 预约咨询
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="fas fa-info-circle me-1"></i> 查看详情
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的服务 -->
            <div class="service-card">
                <div class="service-header">
                    <h5 class="title mb-2">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">家庭园艺设计与维护服务</a>
                    </h5>
                    
                    <div class="provider-info d-flex align-items-center mb-2">
                        <img src="https://picsum.photos/100/100?random=9" alt="服务提供者头像">
                        <div class="ms-2">
                            <div class="font-medium">绿手指园艺服务</div>
                            <div class="text-sm text-muted">发布于 <span class="service-date">4天前</span> · <i class="far fa-eye"></i> 2.9k 浏览</div>
                        </div>
                    </div>
                    
                    <div class="d-flex align-items-center mb-3">
                        <div class="rating me-3">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="far fa-star"></i>
                            <span class="text-muted ms-1">4.3 (78条评价)</span>
                        </div>
                        <span class="price-tag">¥500 起</span>
                    </div>
                    
                    <p class="description">提供家庭园艺设计、植物种植、日常维护等服务，包括阳台花园、屋顶花园、小庭院设计等。专业园艺师上门服务，根据环境推荐合适植物，提供长期养护指导。</p>
                    
                    <!-- 多张图片 -->
                    <div class="images-container multiple-images mb-2">
                        <img src="https://picsum.photos/300/200?random=18" alt="园艺设计示例1" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=19" alt="园艺设计示例2" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=20" alt="园艺设计示例3" class="img-fluid">
                    </div>
                </div>
                
                <!-- 关键信息 -->
                <div class="key-info">
                    <span class="key-info-label">服务详情</span>
                    <div class="service-details mb-2">
                        <p><strong>服务内容：</strong>园艺设计、植物选购与种植、定期维护、季节性修剪</p>
                        <p><strong>服务频率：</strong>一次性设计或定期维护（每周/每月）</p>
                        <p><strong>服务区域：</strong>市区及近郊</p>
                        <p><strong>植物保障：</strong>提供3个月植物存活保障</p>
                    </div>
                    <div class="d-flex gap-3">
                        <span class="text-sm text-muted"><i class="far fa-handshake"></i> 42 个预约</span>
                        <span class="text-sm text-muted"><i class="far fa-thumbs-up"></i> 189 点赞</span>
                    </div>
                </div>
                
                <div class="service-footer">
                    <div class="stats d-flex gap-4">
                        <span><i class="far fa-comment"></i> 56 条咨询</span>
                        <span><i class="far fa-bookmark"></i> 124 人收藏</span>
                    </div>
                    
                    <div class="action-buttons d-flex gap-2">
                        <button class="btn btn-sm btn-outline-primary rounded-pill">
                            <i class="far fa-thumbs-up me-1"></i> 点赞
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="far fa-bookmark me-1"></i> 收藏
                        </button>
                        <button class="btn btn-sm btn-success rounded-pill">
                            <i class="fas fa-calendar-check me-1"></i> 预约服务
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="fas fa-info-circle me-1"></i> 查看详情
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 为交互按钮添加功能
        document.addEventListener('DOMContentLoaded', function() {
            // 点赞按钮交互
            const likeButtons = document.querySelectorAll('button:has(.far.fa-thumbs-up)');
            likeButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const icon = this.querySelector('.far.fa-thumbs-up');
                    if (icon) {
                        // 切换图标
                        icon.classList.toggle('far');
                        icon.classList.toggle('fas');
                        
                        // 切换按钮样式
                        this.classList.toggle('btn-outline-primary');
                        this.classList.toggle('btn-primary');
                    }
                });
            });
            
            // 收藏按钮交互
            const bookmarkButtons = document.querySelectorAll('button:has(.far.fa-bookmark)');
            bookmarkButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const icon = this.querySelector('.far.fa-bookmark');
                    if (icon) {
                        icon.classList.toggle('far');
                        icon.classList.toggle('fas');
                        
                        // 切换按钮样式
                        this.classList.toggle('btn-outline-secondary');
                        this.classList.toggle('btn-success');
                    }
                });
            });
            
            // 预约按钮交互
            const bookingButtons = document.querySelectorAll('button:has(.fas.fa-calendar-check)');
            bookingButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const card = this.closest('.service-card');
                    const title = card.querySelector('.title a').textContent;
                    alert(`准备预约："${title}"`);
                    // 实际应用中可以跳转到预约页面或显示预约表单
                });
            });
            
            // 详情按钮交互
            const detailButtons = document.querySelectorAll('button:has(.fas.fa-info-circle)');
            detailButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const card = this.closest('.service-card');
                    const title = card.querySelector('.title a').textContent;
                    alert(`查看详情："${title}"`);
                    // 实际应用中可以跳转到详情页
                });
            });
        });
    </script>
</body>
</html>
    
